<?php
interface Pageley_Domain_FileManager {
    
    /**
     * @return the directory containing all files.
     */
    public function getDirectory();
    
    /**
     * @return the context path from where the directory containing the files is accessible.
     */
    public function getContextPath();
    
    public function deriveMimeType($extension);
    
    public function resolveLocation($file);
}